package com.huahai.security.core.exception;


import org.springframework.security.core.AuthenticationException;

/**
 * @Author: Jun
 * @Date: 2020/7/17
 *
 * 自定义的验证码异常类
 */
public class ValidateCodeException extends AuthenticationException {

    private String code;

    public ValidateCodeException(String code , String msg) {
        super(msg);
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
